package cn.csc.module.member.controller.app.role.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "用户 APP - 会员角色 Excel 导出 Request VO", description = "参数和 MemberRolePageReqVO 是一致的")
@Data
public class AppMemberRoleExportReqVO {

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色权限字符串")
    private String code;

    @ApiModelProperty(value = "显示顺序")
    private Byte sort;

    @ApiModelProperty(value = "角色类型;(10选品平台角色，20选品企业角色)")
    private Byte type;

    @ApiModelProperty(value = "角色状态")
    private Byte status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
